.student-center-home {
  width: 940px;
  height: 710px;
  overflow: hidden;
  position: relative;
  float: left;
  margin-right: 20px;
  .calendar {
    .float-list {
      position: absolute;
      left: 0;
      top: 0;
      background: #fff;
      z-index: 9999;
      width: auto;
      border-left: 3px solid #43A0FF;
      >i {
        display: block;
        width: 0;
        height: 0;
        border-width: 4px;
        border-style: solid;
        border-color: transparent #43A0FF transparent transparent;
        position: absolute;
        left: -11px;
        top: 10px;
      }
      ul {
        padding: 10px 10px 0;
        li {
          margin-bottom: 10px;
          p {
            font-size: 14px;
            color: #333;
            margin-bottom: 8px;
          }
          span {
            font-size: 12px;
            color: #888;
          }
          p, span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }
        }
      }
    }
    width: 270px;
    height: 710px;
    background: #111b39;
    border-radius: 4px;
    position: relative;
    float: left;
    .calendar-item-wrap {
      padding: 0 10px;
      color: #fff;
      .month {
        font-size: 18px;
      }
      .year {
        font-size: 14px;
        margin-left: 12px;
      }
      table {
        width: 252px;
        text-align: center;
        line-height: 26px;
        font-size: 14px;
        margin-bottom: 10px;
        border-bottom: 1px solid #242948;
        thead {
          display: inline-block;
          width: 252px;
          height: 54px;
          line-height: 54px;
          color: rgba(255, 255, 255, .6);
          tr {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            align-items: center;
            th {
              &:first-child {
                width: 30px;
              }
              width: 26px;
              height: 26px;
            }
          }
        }
        tbody {
          width: 252px;
          tr {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            align-items: center;
            td {
              &:first-child {
                width: 30px;
              }
              width: 26px;
              height: 24px;
              margin: 5px;
              &.has-class {
                position: relative;
                cursor: pointer;
                // font-size: 13px;
                &::after {
                  content: '';
                  display: block;
                  position: absolute;
                  left: 0;
                  top: 0;
                  width: 26px;
                  height: 100%;
                  border: 3px solid rgba(67, 160, 255, .3);
                  border-radius: 50%;
                }
              }
              &.current {
                position: relative;
                background:linear-gradient(0deg,rgba(69,60,242,1) 0%,rgba(30,198,243,1) 100%);
                // background: radial-gradient(left top , circle cover , rgb(69, 60, 242) , rgb(30, 198, 243) 100%);
                // background: -o-radial-gradient(left top , circle cover , rgb(69, 60, 242) , rgb(30, 198, 243) 100%);
                // background: -ms-radial-gradient(left top , circle cover , rgb(69, 60, 242) , rgb(30, 198, 243) 100%);
                // background: -moz-radial-gradient(left top , circle cover , rgb(69, 60, 242) , rgb(30, 198, 243) 100%);
                // background: -webkit-radial-gradient(left top , circle cover , rgb(69, 60, 242) , rgb(30, 198, 243) 100%);
                border-radius: 50%;
                &::before {
                  content: '';
                  display: block;
                  position: absolute;
                  left: 0;
                  top: 0;
                  width: 26px;
                  height: 26px;
                  border: 3px solid rgba(67, 160, 255, .3);
                  border-radius: 50%;
                }
              }
            }
          }
        }
      }
    }
    .home-tip {
      position: absolute;
      bottom: 0;
      width: 270px;
      height: 116px;
      background: url(../../../images/student/home_tip.png) no-repeat;
      background-size: cover;
    }
  }

  .mid-container {
    width: 650px;
    float: left;
    margin-left: 20px;
  }

  .energy-panel {
    width: 650px;
    height: 340px;
    background: #111b39;
    border-radius: 4px;
    float: left;
    .energy-wrap {
      width: 627px;
      height: 247px;
      margin: 0 auto;
      .energy-item {
        float: left;
        width: 313px;
        height: 123px;
        color: #fff;
        &:nth-of-type(1) {
          border-right: 1px solid #242948;
          border-bottom: 1px solid #242948;
        }
        &:nth-of-type(2) {
          border-bottom: 1px solid #242948;
        }
        &:nth-of-type(3) {
          border-right: 1px solid #242948;
          padding-top: 12px;
        }
        &:nth-of-type(4) {
          padding-top: 12px;
        }
        img {
          width: 88px;
          height: 88px;
          float: left;
          border-radius: 50%;
          margin-left: 30px;
          margin-top: 10px;
        }
        >div {
          float: left;
          margin-left: 20px;
          p {
            &:first-child {
              line-height: 54px;
              font-size: 16px;
              margin-bottom: 0;
            }
            &:last-child {
              b {
                font-size: 40px;
                font-weight: normal;
                margin-right: 16px;
              }
              span {
                font-size: 18px;
              }
            }
          }
        }
      }
    }
  }

  .daily-challenge {
    float: left;
    width: 650px;
    height: 350px;
    background: #111b39;
    border-radius: 4px;
    margin-top: 20px;
    padding-left: 20px;
    .daily-challenge-item {
      width: 610px;
      height: 270px;
      color: #fff;
      &.free-courses {
        background: url(../../../images/student/daily_challenge_bg1.png) no-repeat;
        background-size: cover;
        padding-left: 45px;
        padding-top: 66px;
        position: relative;
        p {
          font-size: 26px;
          margin-bottom: 20px;
        }
        span {
          font-size: 18px;
        }
        b {
          display: block;
          width: 106px;
          height: 37px;
          text-align: center;
          line-height: 34px;
          font-weight: normal;
          font-size: 16px;
          position: absolute;
          left: 46px;
          bottom: 46px;
          cursor: pointer;
        }
      }
      &.challenge-now {
        background: url(../../../images/student/daily_challenge_bg2.png) no-repeat;
        background-size: cover;
        padding-left: 45px;
        padding-top: 58px;
        position: relative;
        p {
          margin-bottom: 0;
          width: 326px;
          font-weight: 600;
          span {
            font-weight: normal;
          }
          &:first-child {
            font-size: 26px;
            margin-bottom: 12px;
          }
          &:nth-of-type(2) {
            line-height: 30px;
          }
          &:nth-of-type(3) {
            line-height: 18px;
            span {
              font-size: 14px;
            }
          }
        }
        >span {
          display: block;
          width: 106px;
          height: 37px;
          text-align: center;
          line-height: 38px;
          font-weight: normal;
          font-size: 16px;
          position: absolute;
          left: 46px;
          bottom: 45px;
          cursor: pointer;
        }
        >i {
          position: absolute;
          top: 0;
          right: 0;
          font-style: normal;
          line-height: 20px;
          font-size: 14px;
          display: block;
          width: 52px;
          height: 24px;
          background: url(../../../images/student/english_icon.png) no-repeat;
          background-size: cover;
        }
      }
    }
  }

}
